package inventory.daoInterface;


import java.sql.SQLException;

import dto.Gin;

public interface GinDao 
{
	//crude	
    public void add(Gin category) throws SQLException, Exception;
	
	public void update(Gin cat) throws Exception;
	
	public void delete (Gin cat) throws Exception;
	
	public Gin retreive(String conditionField,String ConditionValue) throws Exception;
	
	public Gin[] retreiveArray(String conditionField,String ConditionValue) throws Exception;
	
	public Gin[] retreiveAll() throws Exception;	
}
